/*
 * Copyright 2008 Jens Meiss
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License. 
 * You may obtain a copy of the License at 
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package mtt.calendar.eventeditor;

import javax.microedition.lcdui.ChoiceGroup;
import javax.microedition.lcdui.Command;
import javax.microedition.lcdui.DateField;
import javax.microedition.lcdui.Displayable;
import javax.microedition.lcdui.Form;
import javax.microedition.lcdui.TextField;

import hmvc.j2me.view.AView;

/**
 * 
 * 
 * @author jens.meiss
 */
public class EventEditorView extends AView {

	private Form form;

	private TextField textFieldName;
	
	private TextField textFieldOrt;
	
	private ChoiceGroup choiceGroupTyp;
	
	private ChoiceGroup choiceGroupDay;
	
	private DateField dateFieldTimeOfBegin;

	private DateField dateFieldTimeOfEnd;

	private TextField textFieldIntervall;
	
	private TextField textFieldTutor;
	
	private TextField textFieldInfoText;
	
	private Command commandBack;
	
	private Command commandStore;

	private Command commandDelete;
	
	public ChoiceGroup getChoiceGroupDay() {
		return choiceGroupDay;
	}
	
	public ChoiceGroup getChoiceGroupTyp() {
		return choiceGroupTyp;
	}

	public Command getCommandBack() {
		return commandBack;
	}

	public Command getCommandDelete() {
		return commandDelete;
	}

	public Command getCommandStore() {
		return commandStore;
	}

	public DateField getDateFieldTimeOfBegin() {
		return dateFieldTimeOfBegin;
	}

	public DateField getDateFieldTimeOfEnd() {
		return dateFieldTimeOfEnd;
	}

	public Displayable getDisplayable() {
		return getForm();
	}

	public Form getForm() {
		return form;
	}

	public TextField getTextFieldInfoText() {
		return textFieldInfoText;
	}

	public TextField getTextFieldIntervall() {
		return textFieldIntervall;
	}

	public TextField getTextFieldName() {
		return textFieldName;
	}

	public TextField getTextFieldOrt() {
		return textFieldOrt;
	}

	public TextField getTextFieldTutor() {
		return textFieldTutor;
	}

	public void setChoiceGroupDay(ChoiceGroup choiceGroupDay) {
		this.choiceGroupDay = choiceGroupDay;
	}

	public void setChoiceGroupTyp(ChoiceGroup choiceGroupTyp) {
		this.choiceGroupTyp = choiceGroupTyp;
	}

	public void setCommandBack(Command commandBack) {
		this.commandBack = commandBack;
	}

	public void setCommandDelete(Command commandDelete) {
		this.commandDelete = commandDelete;
	}

	public void setCommandStore(Command commandStore) {
		this.commandStore = commandStore;
	}

	public void setDateFieldTimeOfBegin(DateField dateFieldTimeOfBegin) {
		this.dateFieldTimeOfBegin = dateFieldTimeOfBegin;
	}

	public void setDateFieldTimeOfEnd(DateField dateFieldTimeOfEnd) {
		this.dateFieldTimeOfEnd = dateFieldTimeOfEnd;
	}

	public void setForm(Form form) {
		this.form = form;
	}

	public void setTextFieldInfoText(TextField textFieldInfoText) {
		this.textFieldInfoText = textFieldInfoText;
	}

	public void setTextFieldIntervall(TextField textFieldIntervall) {
		this.textFieldIntervall = textFieldIntervall;
	}

	public void setTextFieldName(TextField textFieldName) {
		this.textFieldName = textFieldName;
	}

	public void setTextFieldOrt(TextField textFieldOrt) {
		this.textFieldOrt = textFieldOrt;
	}

	public void setTextFieldTutor(TextField textFieldTutor) {
		this.textFieldTutor = textFieldTutor;
	}

}
